﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Asterisk.NET.Manager.Action;
using Spring.Expressions;

namespace ADial
{
    public class PropertySetterAction 
    {
        public ManagerAction Action = null;
        public string NumberAttribute = null;

        public void setNumber(string number)
        {
            if (!string.IsNullOrEmpty(NumberAttribute)) ExpressionEvaluator.SetValue(Action, NumberAttribute, number);
        }
        

    }
}
